
<!-- <h3 class="page-header">个人认证 -->
<!-- <a href="" class="ajax-modal-sm">+</a> -->
<!-- </h3> -->

<div class="table-responsive">
<table class="table table-hover table-bordered">
<thead>
<tr>
	<th>ID</th>
	<th>用户名</th>
	<th>用户认证信息</th>
	<th width="200">创建时间</th>
	<th width="150">操作</th>
</tr>
</thead>
<tbody id="cat-list">
<?php foreach ($CertifiedSubmit as $item):?>
<tr>
	
	<td><?=$item['id'] ?></td>
	
	<td><?php echo isset($item['username'])? $item['username']:'在数据库把字段变成了个人用户';?></td>

	<td>
	
	<?php if ($item['type']==1):?>
		<a href="<?= URL::site('certified/personInfo?id='.$item['id']);?>" class="btn btn-danger btn-xs ajax-update">查看</a>
	<?php elseif ($item['type']==2):?>
		<a href="<?= URL::site('certified/companyInfo?id='.$item['id']);?>" class="btn btn-danger btn-xs ajax-update">查看</a>
	<?php endif;?>
	</td>
	<td><?php echo isset($item['create_time'])? date('Y-m-d H:i:s',$item['create_time']):'人才'; ?></td>
	<td>
			<?php if ($item['status']==1):?>
            <a href="" class="btn btn-info btn-xs ajax-update">审核通过</a>
            <?php elseif ($item['status']==0):?>
            <a href="" class="btn btn-danger btn-xs ajax-update">待审核</a>
            <?php else:?>
            <a href="" class="btn btn-danger btn-xs ajax-update">审核失败</a>
            <?php endif;?>
	</td>
	
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
<?= $pager?>
